<div class="container main-content">
	<h1>Slike</h1>
  
	<table class="images">
	  <% @images.each do |image| %>
	   <tr> 
	     <td class="images narrow"><%= link_to image_tag('black_icons/delete.png', :class => "button"), image, :confirm => 'Are you sure?', :method => :delete %></td>
	     <td class="images"> <%= link_to image.image_file_name, image %></td> 
	     <td class="images narrow"> <%= (image.image_file_size / 1024) %>kb</td> 
	   </tr>
	  <% end %>
	</table>
  
	<div class="admin_links">
		<%= link_to "Dodaj sliku", new_image_path %>
	</div>
</div>
